package com.wyg.study.demo.log;

import org.apache.log4j.Logger;

/**
 * log4j 一般指log4j 1.x 已不再更新 通过log4j.properties读取配置
 * @author yg.wang
 * @description:
 * @date 2019/8/5 19:50
 */
public class Log4jTest {
    private static final Logger logger = Logger.getLogger(Log4jTest.class);

    public static void main(String[] args) {
        logger.info("这是一条info日志");
        logger.error("这是一条error日志");
    }
}
